package org.zju.demo.service.intf;

import org.zju.demo.model.OrderUser;

import java.util.List;

/**
 * Created by admin on 2015/8/27.
 */
public interface OrderUserIntf {
    public List<OrderUser> findByOrderId(int orderId);
    public List<OrderUser> findByUserId(int userId);
    public List<OrderUser> findByUserIdLastNRecords(int userId, int n);
    public void save(OrderUser orderUser);
}
